package com.ruoyi.mapper.jpjs.budget;

import com.ruoyi.domain.jpjs.common.budget.Basicprice;
import com.ruoyi.domain.jpjs.common.budget.Details;
import com.ruoyi.domain.jpjs.common.budget.Planbudget;

import java.util.List;
import java.util.Map;

public interface BudgetPlanMapper {

    List<Basicprice> queryBasicPriceList(Map<String, Object> map);

    List<Planbudget> queryBudgetList(Map<String, Object> map);

    List<Details> queryDetailsList(Map<String, Object> map);

    public int insertBasicPrice(Basicprice basicprice);

    public int insertPlanBudgetBatches(List<Planbudget> planbudget);

    public int insertDetails(Details details);

    public int updateBasicPrice(Basicprice basicprice);

    public int updateBasicPriceFinish(Basicprice basicprice);

//    public int updatePlanBudget(Planbudget planbudget);

    public int updatePlanBudgetBatches(List<Planbudget> planbudget);

    public int updateDetails(Details details);

    public int deleteBasicPrice(String[] basicId);

    public int deletePlanBudget(String[] planId);

    public int deleteQuarterDetails(String[] detailId);

    public String queryCompanyNameById(String companyId);

}
